package com.intellagric.service.agritech;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.agritech.AgtUserTagVo;
import com.intellagric.pojo.AgtUserTag;

import java.util.List;
import java.util.Map;

/**
 * @Author: cwq
 * @Date: 2019/2/26 11:37
 * @Description:
 */
public interface UserTagService {
    //增加
    ResponseMessage addUserTag(AgtUserTag userTag);

    //删除
    ResponseMessage deleteUserTag(String id);

    //修改
    ResponseMessage editUserTag(AgtUserTag userTag);

    //查询
    AgtUserTag getUserTagById(String id);
    LayuiDataGridResult getUserTagList();

    LayuiDataGridResult getUserTagByPage(int page, int limit);

    LayuiDataGridResult getUserTagListByVo(AgtUserTagVo agtUserTagVo, int page, int limit);

    List<AgtUserTag> getUserTagSumWeightByVo(AgtUserTagVo agtUserTagVo);

    Map<String, Object> getUserTagSumActionCountGroupByActionIdByVo(AgtUserTagVo agtUserTagVo);
}
